// components/tab-bar/index.js
const app = getApp()
Component({
    properties: {
        active: {
            type: String,
        }
    },
    options: {
        addGlobalClass: true
    },
    data: {},
    methods: {
        scanCode() {
            app.scanCode()
        }
    }
})
